package cn.lzy.demo;

import org.springframework.context.ApplicationEvent;

/**
 * @Description
 * @Author lzy
 * @Date 2024/1/14 1:58
 * @Version
 **/
public class Shop extends ApplicationEvent {

    private String name;
    private String boss;

    public Shop(Object source) {
        super(source);
    }

    @Override
    public String toString() {
        return "Shop{" +
                "name='" + name + '\'' +
                ", boss='" + boss + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBoss() {
        return boss;
    }

    public void setBoss(String boss) {
        this.boss = boss;
    }
}
